﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace Fodee.DataAccess
{
    public interface IDataAccess
    {
        bool Insert(string procedureName, SqlParameter[] param);
        bool Update(string procedureName, SqlParameter[] param);
        bool Delete(string procedureName, SqlParameter[] param);
        DataSet GetById(string procedureName, SqlParameter[] param, string tableName);
        DataSet GetAll(string procedureName, string tableName);
    }
}
